// -----------------------------------------------------------------------
//  <copyright file="UserPlusBase.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024-05-10 16:05</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Identity.Domain.Entities;

public abstract class UserPlusBase<TUserClaim, TUserLogin, TUserRole, TUserToken> : UserBase
{
    /// <summary>
    /// 获取或设置 分配的用户角色信息集合
    /// </summary>
    public virtual List<TUserRole> UserRoles { get; set; } = [];

    /// <summary>
    /// 获取或设置 用户的声明信息集合
    /// </summary>
    public virtual List<TUserClaim> UserClaims { get; set; } = [];

    /// <summary>
    /// 获取或设置 用户的第三方登录信息集合
    /// </summary>
    public virtual List<TUserLogin> UserLogins { get; set; } = [];

    /// <summary>
    /// 获取或设置 用户令牌信息集合
    /// </summary>
    public virtual List<TUserToken> UserTokens { get; set; } = [];
}
